using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class UILocalizeLabel : MonoBehaviour {

	public int stringID = -1;

	// Use this for initialization
	void OnEnable () {
		
		Text text = GetComponent<Text>();
		if( text != null )
			text.text = AvLocalizationManager.GetString(stringID);
	}
	
}
